#include <flight_controller_tcp_textlog.hpp>

TcpServerClient* FlightControllerTcpTextlog::FlightControllerTcpTextlogCreator()
{
	return new FlightControllerTcpTextlog();
}

FlightControllerTcpTextlog::FlightControllerTcpTextlog()
{
}

FlightControllerTcpTextlog::~FlightControllerTcpTextlog()
{
}

void FlightControllerTcpTextlog::RecvData(char* data, int size)
{
	if (size <= 0)
	{
		return;
	}

	for (int i = 0; i < size; i++)
	{
		printf("%c", data[i]);
	}
}